cmake_minimum_required(VERSION 3.0)

project(mantis)

set(CMAKE_CXX_STANDARD 17)

find_package(Boost 1.65 REQUIRED COMPONENTS system filesystem)

find_package(OpenSSL REQUIRED)

aux_source_directory(. DIR_SRCS)

#include_directories(cinatra)
include_directories(
    third_party
    include
)


add_executable(${PROJECT_NAME} ${DIR_SRCS})

target_link_libraries(${PROJECT_NAME} pthread pqxx pq uuid -lstdc++fs ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES})
